package com.yonyougov.devops.cruxcisupport.appenvconfigitem;

import com.yonyougov.devops.fwc.core.dao.BaseDao;
import com.yonyougov.devops.fwc.core.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.math.BigInteger;
import java.util.List;

/**
 * t_app_env_config_item服务实现
 */
@Service
public class AppEnvConfigItemServiceImpl extends BaseServiceImpl<AppEnvConfigItemEntity, BigInteger> implements AppEnvConfigItemService {
    private final AppEnvConfigItemDao appEnvConfigItemDao;

    public AppEnvConfigItemServiceImpl(AppEnvConfigItemDao appEnvConfigItemDao) {
        this.appEnvConfigItemDao = appEnvConfigItemDao;
    }

    @Override
    public BaseDao<AppEnvConfigItemEntity, BigInteger> getDao() {
        return appEnvConfigItemDao;
    }

    @Override
    public void batchDeleteById(List<BigInteger> ids) {
        appEnvConfigItemDao.batchDelete(ids);
    }
    //<!--用户自定义代码开始-->

    //<!--用户自定义代码结束-->
}
